package com.yixun.qfbao.weappmessage;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@Configuration
@PropertySource(value = "classpath:application.properties",encoding="UTF-8")
public class WeAppMessageProperties {

    @Value("${weAppAgencyMessageAppId}")
    private String weAppAgencyMessageAppId;

    @Value("${weAppAgencyMessageAppSecret}")
    private String weAppAgencyMessageAppSecret;

    @Value("${weAppAgencyMessageToken}")
    private String weAppAgencyMessageToken;
    
    @Value("${weAppAgencyMessageAeskey}")
    private String weAppAgencyMessageAeskey;


    public String getWeAppAgencyMessageAppId() {
        return weAppAgencyMessageAppId;
    }

    public void setWeAppAgencyMessageAppId(String weAppAgencyMessageAppId) {
        this.weAppAgencyMessageAppId = weAppAgencyMessageAppId;
    }

    public String getWeAppAgencyMessageAppSecret() {
        return weAppAgencyMessageAppSecret;
    }

    public void setWeAppAgencyMessageAppSecret(String weAppAgencyMessageAppSecret) {
        this.weAppAgencyMessageAppSecret = weAppAgencyMessageAppSecret;
    }

    public String getWeAppAgencyMessageToken() {
        return weAppAgencyMessageToken;
    }

    public void setWeAppAgencyMessageToken(String weAppAgencyMessageToken) {
        this.weAppAgencyMessageToken = weAppAgencyMessageToken;
    }

    public String getWeAppAgencyMessageAeskey() {
        return weAppAgencyMessageAeskey;
    }

    public void setWeAppAgencyMessageAeskey(String weAppAgencyMessageAeskey) {
        this.weAppAgencyMessageAeskey = weAppAgencyMessageAeskey;
    }
}
